<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<link href="_system/css/common.css" rel="stylesheet" type="text/css">
<link href="_system/images/skin.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="_system/js/common.js">
<!--

//-->
</script>
<body>
<s:iterator var="user" value="%{#request.user}">
	<table width="98%" border="0" cellpadding="0" cellspacing="0">
		<tr>
			<td width="17" height="29" valign="top" background="_system/images/mail_leftbg.gif">
				<img src="_system/images/left-top-right.gif" width="17" height="29" />
			</td>
			<td width="935" height="29" valign="top" background="_system/images/content-bg.gif">
				<table width="100%" height="31" border="0" cellpadding="0"
					cellspacing="0" class="left_topbg" id="table2">
					<tr>
						<td height="31" width="85">
							<div class="titlebt">
								<s:a href="get_user?user.uid=%{#user.uid}">帐户信息</s:a>
							</div>
						</td>
						<td height="31" width="85">
							<div class="titlebt">
								<s:a href="get_tenement?tenement.tid=%{#user.tenement.tid}">住户信息</s:a>
							</div>
						</td>
						<td height="31" width="85">
							<div class="titlebt">
								<s:a href="findBuilding_by_tenement?building.tenement.tid=%{#user.tenement.tid}">房产信息</s:a>
							</div>
						</td>
						<td height="31" width="85">
							<div class="titlebt">
								<s:a href="get_charge">收费信息</s:a>
							</div>
						</td>
						<td height="31" width="85">
							<div class="titlebt">
								<s:a href="get_complaint">投诉信息</s:a>
							</div>
						</td>
						<td height="31" width="85">
							<div class="titlebt">
								<s:a  href="get_repair">报修信息</s:a>
							</div>
						</td>
						<td width="*">
							&nbsp;
						</td>
					</tr>
				</table>
			</td>
			<td width="16" valign="top" background="_system/images/mail_rightbg.gif">
				<img src="_system/images/nav-right-bg.gif" width="16" height="29" />
			</td>
		</tr>
		<tr>
			<td height="71" valign="middle" background="_system/images/mail_leftbg.gif">
				&nbsp;
			</td>
			<td valign="top" bgcolor="#F7F8F9">
				<table width="100%" height="138" border="0" cellpadding="0"
					cellspacing="0">
					<tr>
						<td height="13" valign="top">
							&nbsp;
						</td>
					</tr>
					<tr>
						<td valign="top">
							<table width="98%" border="0" align="center" cellpadding="0"
								cellspacing="0">
								<tr>
									<td class="left_txt">
										当前位置：帐号详细
									</td>
								</tr>
								<tr>
									<td height="20">
										<table width="100%" height="1" border="0" cellpadding="0"
											cellspacing="0" bgcolor="#CCCCCC">
											<tr>
												<td></td>
											</tr>
										</table>
									</td>
								</tr>
								<tr>
									<td>
										<table width="100%" height="55" border="0" cellpadding="0"
											cellspacing="0">
											<tr>
												<td width="10%" height="55" valign="middle">
													<img src="_system/images/title.gif" width="54" height="55">
												</td>
												<td width="90%" valign="top">
													<span class="left_txt2">管理帐号!</span>
												</td>
											</tr>
										</table>
									</td>
								</tr>
								<tr>
									<td>
										&nbsp;
									</td>
								</tr>
								<tr>
									<td>
										<table width="100%" height="31" border="0" cellpadding="0"
											cellspacing="0" class="nowtable">
											<tr>
												<td class="left_bt2">
													&nbsp;&nbsp;&nbsp;&nbsp;帐号&nbsp;&nbsp;&lt;&nbsp;序号: ${user.uid}&nbsp;&gt;
												</td>
											</tr>
										</table>
									</td>
								</tr>
								<tr>
									<td>
										<table width="100%" border="0" cellspacing="0"
											cellpadding="0">
											<tr>
												<td width="20%" height="30" align="right" bgcolor="#f2f2f2"
													class="left_txt2">
													用户名：
												</td>
												<td width="3%" bgcolor="#f2f2f2">
													&nbsp;
												</td>
												<td width="32%" height="30" bgcolor="#f2f2f2">
													<s:property value="%{#user.username}"/>
												</td>
												<td width="45%" height="30" bgcolor="#f2f2f2"
													class="left_txt">
													&nbsp;
												</td>
											</tr>
											<tr>
												<td width="20%" height="30" align="right" bgcolor="#f2f2f2"
													class="left_txt2">
													密码：
												</td>
												<td width="3%" bgcolor="#f2f2f2">
													&nbsp;
												</td>
												<td width="32%" height="30" bgcolor="#f2f2f2">
													<s:property value="%{#user.password}"/>
												</td>
												<td width="45%" height="30" bgcolor="#f2f2f2"
													class="left_txt">
													&nbsp;
												</td>
											</tr>
											<tr>
												<td width="20%" height="30" align="right" bgcolor="#f2f2f2"
													class="left_txt2">
													邮箱：
												</td>
												<td width="3%" bgcolor="#f2f2f2">
													&nbsp;
												</td>
												<td width="32%" height="30" bgcolor="#f2f2f2">
													<s:property value="%{#user.email}"/>
												</td>
												<td width="45%" height="30" bgcolor="#f2f2f2"
													class="left_txt">
													&nbsp;
												</td>
											</tr>
											<tr>
												<td width="20%" height="30" align="right" bgcolor="#f2f2f2"
													class="left_txt2">
													住户：
												</td>
												<td width="3%" bgcolor="#f2f2f2">
													&nbsp;
												</td>
												<td width="32%" height="30" bgcolor="#f2f2f2">
													<s:action name="get_tenement">
														<s:param name="tenement.tid" value="%{#user.tenement.tid}"></s:param>
													</s:action>
													<s:if test="null != #request.tenement">
														<s:a href="get_tenement?tenement.tid=%{#request.tenement.tid}">
															<s:property value="%{#request.tenement.tname}"/>
														</s:a>
													</s:if>
												</td>
												<td width="45%" height="30" bgcolor="#f2f2f2"
													class="left_txt">
													<s:fielderror name="user.tenement.tid" cssStyle="color:red"></s:fielderror>
												</td>
											</tr>
											<tr>
												<td width="20%" height="30" align="right" bgcolor="#f2f2f2"
													class="left_txt2">
													帐号权限：
												</td>
												<td width="3%" bgcolor="#f2f2f2">
													&nbsp;
												</td>
												<td width="32%" height="30" bgcolor="#f2f2f2">
													<s:if test="%{'0'.equals(#user.privilege)}">
														管理员
													</s:if>
													<s:else>
														普通用户
													</s:else>
												</td>
												<td width="45%" height="30" bgcolor="#f2f2f2"
													class="left_txt">
													<s:fielderror name="user.privilege" cssStyle="color:red"></s:fielderror>
												</td>
											</tr>
											<tr>
												<td width="20%" height="30" align="right" bgcolor="#f2f2f2"
													class="left_txt2">
													&nbsp;
												</td>
												<td width="3%" bgcolor="#f2f2f2">
													&nbsp;
												</td>
												<td width="32%" height="30" bgcolor="#f2f2f2">
													&nbsp;
												</td>
												<td width="45%" height="30" bgcolor="#f2f2f2"
													class="left_txt">
													&nbsp;
												</td>
											</tr>
										</table>
									</td>
								</tr>
							</table>
						</td>
					</tr>
				</table>
			</td>
			<td background="_system/images/mail_rightbg.gif">
				&nbsp;
			</td>
		</tr>
		<tr>
			<td height="160" valign="middle" background="_system/images/mail_leftbg.gif">
				&nbsp;
			</td>
			<td valign="top" bgcolor="#F7F8F9">
				&nbsp;
			</td>
			<td background="_system/images/mail_rightbg.gif">
				&nbsp;
			</td>
		</tr>
		<tr>
			<td valign="middle" background="_system/images/mail_leftbg.gif">
				<img src="_system/images/buttom_left2.gif" width="17" height="17" />
			</td>
			<td height="17" valign="top" background="_system/images/buttom_bgs.gif">
				<img src="_system/images/buttom_bgs.gif" width="17" height="17" />
			</td>
			<td background="_system/images/mail_rightbg.gif">
				<img src="_system/images/buttom_right2.gif" width="16" height="17" />
			</td>
		</tr>
	</table>
	</s:iterator>
</body>